There are some trains departing from Hanoi to HCMC crossing Ninh Binh province where Hoa lu temple and Tam Coc grotto loacted, You can find the train codes SE5, SE7, TN5, TN7 , TN9, TN11, TN13, TN15 to travel to Ninh Binh accordingly for your travel plan

SE5 1225/1438 and SE7 0555/0812

Train will stop over at Ninh Binh railway station for some munites and customers can reach tourist spots easily by taxi or Om driver await you right at main entrance of the railway Ninh BInh province.

From Hanoi to Ninh Binh, overland 90km distance, over 2hours on the train so budget travellers can book hard seat, soft seat to save up money and other want to sleep on train can book soft sleeper train tickets. The train tickets are available on the requets

Read more train Hanoi - Ninh binh (http://www.trainticketdeliver.com/Trains_from_Hanoi_to_Ninh_Binh_S78-130.html)
train hanoi-ninh binh-hue