The technique here is to turn the camera upside-down and rest the bottom of the camera on the ceiling of the vehicle in which you’re riding. The camera is inverted. Your camera will turn everything back right-side-up afterwards.
This way, I always get the ceiling reflection and the people in the train.
This was shot on an airport transfer train of the Kuala Lumpur International Airport.