Castling requires you to have moved your Bishop and Knight out of the way of your King and Rook. You can't have moved your King previously.
To Castle Queenside, (the game will handle the positioning for you), you simply move your King to the space where your Bishop would be and your Rook to where your Queen would be.