Plans for a new electric vehicle charging hub and restaurant have been unveiled for a Fife town.