Can I castle from rook at a1 and king at e1 and how to make app make that move?
Just drag the king from e1 to c1. If it wouldn't work, perhaps you were trying to violate one of the rules of castling- like trying to castle out of check or pass the king through check.

Can I castle from rook at a1 and king at e1 and how to make app make that move?