How can I move a group along a path?
It seems you have added a curve modifier which will 'bend' the object along the curve.

What you want to do, is to go to the Constraints-panel and add a Follow Path constraint to the parent. From there you can tick Follow Curve and press Animate Path to make the train drive along the rail.