Hydrolysis--running an electric current through water to produce hydrogen--yields fuel that is usually not economically competitive with other forms of energy.
The carbon combines with the hydrogen in water to make carbon monoxide and hydrogen gas--the old "town gas"--but then the catalyst prompts a rejiggering of the atoms into methane (one carbon atom attached to four hydrogen atoms).