Trading keys in Free Realms is straightforward: you simply add them into the trade window.
Open a trade with the other player, place the keys you want to exchange into the window, and confirm the deal. That's all there is to it.