so when they recombine the hydrogen to generate electricity they get more electricity out than the electricity used for the electrolysis 
Not by conventional methods, no. Maybe take a look at what they can do to extract hydrogen.
The way we know of extracting it, isn't the only way to do it that is expensive. Take a look about and see what they can actually do.
Just think about your hydrogen cars, etc. They are a moving power station, requiring water as fuel. It's no different to how a full size power station could be running. Obviously you will go into full on expert denial mode, I'm sure of that.
Since when do hydrogen cars run on water? 
I said they require water as fuel, not they fill their fuel tanks with water you smug little bastard.
Wowzers, I post one comment, one sentence, eight words on this thread and get called that? Impressive - a very Happy easter to you too.
I suggest you sort your literacy out - water is not the fuel, it is the source of hydrogen.
Secondly, you stated that hydrogen cars were "moving power stations", implying that they were completely self sufficient once the raw materials (water) were provided. Which would suggest that it is the car extracting hydrogen from water.
Thirdly, the largest source of hydrogen is fossil fuel. As others have surmised, it takes more electricity to produce hydrogen from water than the electricity produced.