You don't transport hydrogen, you transport some other fuel made in a hydrogen-driven chemical process close to where the hydrogen is made. The hydrogen serves as an initial step (that is true for just about any power-to-something) and as an input buffer to allow running downstream processes 24/7 and not just whenever the sun is shining.