They're both for the sunroof. First button is for tilting the roof, the second is to retract it into the roof. Both buttons have a "close" position. It'* actually a lot easier to use the two buttons than just one.
Here'* a close-up of the buttons.
The center button is for the interior lamps. If you set it to on, the interior lamps turn on just as it would with any car, if it'* in the center, they turn on when the door is opened only, and if it'* set to off, ONLY the floor lamps turn on when the doors are opened.