Electric hydrogen production and hydrogen energy storage