Move all cards to the single foundation. You can only remove a pair of cards when the numerical values of the two cards adds up to 13. All Kings go off alone. To select a pair tap the first card, next tap the second card. Also you can drag and drop a card to another one.

This image is a schematic representation, not a screenshot from the game. Screenshots are platform specific. You can see screenshots in the store.