You have selected a premium hatch and a entry level sedan of similar price range. Maruti Swift Dzire comes with 1.3L diesel engine, while Hyundai i20 comes with a more powerful 1.4L diesel engine. Both of the cars have almost same maintenance cost and mileage. The i20 is a slight costlier than the Swift and Maruti also have largest service network in India. The interiors of the i20 are much better than the Swift. To see a detailed comparison of both the cars, please visit the link below-
Initially, Hyundai Elite i20 Magna comes with a petrol and diesel engine but a CNG kit can be fitted with the one which has petrol engine. You will have to sacrifice with power to get more fuel economy and if you convert a petrol car into a CNG car, you may loose the warranty on the car and resale value of CNG cars is lesser than petrol cars. It is always recommended to get the CNG kit fitted from the authorized service center so that you can avail the warranty services as well. Moreover, the performance will depend on how the car is driven and maintained.
Click here to find the nearest Hyundai service centre by selecting your city in the drop down list.
How much fuel goes into a car varies on a lot of factors. Now you haven't mentioned how many km did you drive post the low fuel warning light as that could also determine how much fuel goes into the car. Even though the manual says that the tank capacity is 45 litres, the amount can vary by a small margin, give or take 2 or 3 litres. Also filling fuel in the hot day or in the night also makes a difference considering fuel expands during the hot day and contracts when the temperature is cooler. All said and done, make sure you fuel up within 3 to 4 km after the low fuel indicator light pops up.