Just practice touching your helmet or your shoulder with either hand frequently while you ride.
When i was trying to learn how to drink from my downtube water bottle while riding, at first I just practiced reaching down to touch the bottle a lot.