Use of natural gas in electricity generation