It seems like you might be referring to the movie "Horror Express." "Horror Express" is a British-Spanish horror film released in 1972.
The film is directed by Eugenio MartÃn and stars Christopher Lee, Peter Cushing, and Telly Savalas.