At least two people were killed and dozens injured on Tuesday when two trains collided in the South African capital Pretoria, an emergency services official said.