Electrolysis hydrogen is only a little bit more expensive than hydrogen derived from methane and electrolyzers with dozens of megawatt are available. That seems pretty solid to me at this point in the energy transition.
Hydrogen generation isn't the problem, storing it over several months is. Economical, safe, and reliable storage of hydrogen is very much an unsolved engineering challenge. If it weren't, hydrogen storage plants would shoot out of the ground left and right: Even here in Germany, we have such an abundance of solar electricity during the summer months that wind generators have to be turned off and the spot price of electricity still falls to negative values(!) over noon, almost every day.
Hydrogen generation isn't the problem, storing it over several months is. Economical, safe, and reliable storage of hydrogen is very much an unsolved engineering challenge. If it weren't, hydrogen storage plants would shoot out of the ground left and right: Even here in Germany, we have such an abundance of solar electricity during the summer months that wind generators have to be turned off and the spot price of electricity still falls to negative values(!) over noon, almost every day.