CO2-free energy and hydrogen production from hydrocarbons