Energy from going downhill (assuming it's steep enough to overcome drag and rolling resistance) can go into either of two places: increased speed or charging your battery. The only difference compared to an ICE is that you only get the first option when going downhill (or wasting it into heat via the brakes).