You can access the cart either from the home screen or the checkout screen. From there, you can swipe left on any game to expose the Delete button. If you press it, it will remove that game from your cart.
You can also select the "Clear All" button on top to remove all games from your cart.
If you are on Android, select the trash icon on top to remove all games from your cart.