When the other pieces are out of the way,
just drag the king two squares to the right or left. The rook will move by itself.
https://www.chess.com/forum/view/for-beginners/castling
If you need help, please contact our Help and Support team.