I’ve been to Postojna Cave in Slovenia (not far from the Croatian border), which may be the largest cave in Europe. It does have a small train which visitors ride inside the cave.
That’s probably the one I went to way back in October of 1986 during my time in the Navy.