Splitting water into its constituent components, hydrogen and oxygen or HHO or Browns gas, electrically only uses a fraction of the power that you can generate recombining them thermally in say, an engine that drives a generator.
For example an electrolyser that can generate enough HHO to run a cars engine only uses about 20% of the output of the cars alternator.
Call your patent attorney, you have just invented the perpetual motion machine.
In reality it takes more energy to free hydrogen from water than you get back when you recombine it because of losses along the way.