The present invention relates to the generation of substantially pollution free energy by utilizing hydrocarbons to create electrical energy, while reinjecting exhaust fumes or other byproducts into a subterranean formation. The present invention further relates to managing and supplying this electrical energy to at least one of a variety of subprocesses for producing a fuel product, such as hydrogen or ethanol. Alternatively, electrical power can be generated from a non-hydrocarbon source such as thermal, solar, wind or other power source to produce electrical energy, which in turn may be used to produce fuel products or other forms of usable energy. Thus, remote, low reserve oil and gas fields may be exploited and produced without requiring the construction of expensive gas transmission lines.