Who did the people of Lystra think were the gods Mercury and Jupiter?

Paul and Barnabas

When the people saw what Paul had done, they lifted up their voices, saying in the speech of Lycaonia, The gods are come down to us in the likeness of men.

And they called Barnabas, Jupiter; and Paul, Mercurius. Acts 14:11-12