^^ To emphasise bmer's point... this is the electricity source for the US (2006).

[
- ONLY REGISTERED AND ACTIVATED USERS CAN SEE ALL LINKS - CLICK HERE TO REGISTER]
So if everyone where to switch tomorrow, all you'd do is shift the pollution from petrol to primarily coal... and coal pollutes more then petrol.
So electric is a solution for certain cases, but not worldwide.
Hydrogen (which is not an energy source, but an energy carrier) has the same problem... it will be successful if and only if we can produce it using sustainable/renewable sources.
The advantage of Hydrogen (fuel-cell or liquid) is that it is a better and more efficient way to store energy then a battery.