Hydrogen vs. Battery Electric Cars

battery EV would be much cleaner since they can harness their energy from a variety of sources(e.g Wind, solar, hydro, nuclear)

not to mention the efficiency/effort in transporting that energy source to its destination to be distributed 

How are hydrogen being generated/extracted and how is it transported to the destination?