You must be connected to the internet, then sign in to your Microsoft account. Search for the games, and purchase one using your payment credentials. Once paid, you can already download them.