This is a very small steam train, a "yard train." The letters on the side mean "rot fai Thailand" or "Thailand Fire Car" or less literally "Thailand Train".
Note the old link and pin car connectors. Last time I was there it had been taken away, no one knew where too.