Environmentally speaking, deciding the best way to power a vehicle is a complicated problem.
There is the efficiency of internal combustion engines (25 % ish) compared to coal/gas power stations (30%+ ish I think) to consider.
If you're charging your electric vehicle from the national grid, then you can consider it being only part coal/gas powers, part nuclear powered, part renewable powered (I can't find any stats just now, but I think current UK electricity generation is very approximately 70% coal/gas, 20% nuclear 10% renewable?). This ratio is only going to shift away from coal/gas, towards renewable/nuclear, making an electric powered car produce less and less CO2 as it goes through life.
There is the energy and hazardous chemicals which go into the production of the battery.
Those are the main considerations I can think of just now, although there are doubtless hundreds more. It's my opinion that anything which promotes less fossil fuel use is a good thing. The amount of research being done into batteries and fuel cells is only going to increase the more people invest in them.