Spain's government aims to have one million electric cars on the roads by 2014 as part of a plan to cut energy consumption and energy imports.