Can an electric water heater and electric air handler/furnace be installed in the same closet?
It shouldn't be a problem, as long as there's enough working space around the units. See this answer for more details on how much working space you need, and this answer which includes a good graphic. 

Here's a PDF from Mike Holt, that describes the requirements for space around the equipment (starting on page 16).