Drivers of electric vehicles will be able to get more than a caffeine charge at some Starbucks locations this year.