Police say the man performed sexually-explicit acts in front of two women on separate occasions on Melbourne city-bound trains.