Just move your attacking pawn to its target square (as per normal capture). You won't see the captured pawn disappear from the board, though, at this time. Next time you check your game, the captured pawn will be gone. Similarly, if you castle, you won't see the rook's new position until after you have committed your move.