My answer is like this, the prophecy is somehow two-folded. It bears a standard, and it describes a scenario.
The two lampstands are Moses and Elijah, they symbolically represent the 2 series of prophets sent and to be sent. John the Baptist belongs to the Elijah series, especially to the Son of Man. Paul is thus Moses, especially to the Son of Man.
It sets a standard here for the end time prophets to follow, alternatively speaking, end time prophets are destined to follow this standard,
- They belong to either of the 2 series.
- They will die but will be raised back.
- They will confront the devil in a more direct sense (even a face to face encounter).
- They will torment the world with Truth, that some people will be driven crazy and will be more than happy to see them killed.
- They will prophesy/reveal in a period of time.
Amongst them, there will be 2 extraordinary Witnesses, and they will come just as described.
Moreover, one appears to be physical dead might not have actually tasted death.