Hydrogen come from electricity which comes from coal, nuclear etc. Run the proper electric charge through water and get hydrogen and oxygen.