# Elijah with Moses appeared
"two prophets who had lived long ago, Elijah and Moses, appeared"
# they were talking
The word "they" refers to Elijah and Moses.