When a man tosses the coin, a coin acquires a vertical velocity and move upward but also acquires horizontal velocity. the horizontal velocity of ball and man in the train is same so it can only see vertical velocity. So if observed from the ground, it moves in a parabola path.