I purchased Macbook Air 13 in late 2012. It is advertised as having 7 hour battery life. After a few months of use, with maximum charge it gives me only 2 hours.
Is this normal?
I would download and install Battery Health from the Mac App Store. Allow it to run and determine if your battery's current maximum charge threshold.
In the case that your battery is no longer charging to its maximum amount, I would make an appointment with your local Genius Bar for some in-warranty love.
If your battery is "just fine", you'll want to consider lowering your screen's brightness, reducing the number of open apps and potentially uninstalling Flash, turning off Bluetooth if you don't use it, and making sure your GPU and CPU power settings are enabled.
If you're not using a lot of power, this isn't normal. On http://www.apple.com/macbookair/features.html#battery it says up to 7 hours, clearly implying that you could get less. The footnote as text as follows:
So, if you had all of the the brightness on max, CPU topped out, GPU working and storage downloading, I would expect the battery to last between 2 and 3 hours, so you may have a perfectly normal battery or there may be an issue. This sort of thing is exactly what the Genius bar and AppleCare exist to answer on a case by case basis if the online tips don't work or you want to seek a professional opinion and possible repair.