To begin with, the equation given is not correct.
Correct equation is : CaCO3 + HCl ---> CaCl2 + H2O + CO2
It's CaCl2 not CaCl because Ca has a valency of 2
LHS RHS
CaCO3 + HCl ---> CaCl2 + H2O + CO2
First of all, to balance the equation you must look at the number of atoms on each side of the equation.
we have 2 H on the RHS and 1 H on the LHS. So, we put a 2 on the LHS
CaCO3 + 2HCl ---> CaCl2 + H2O + CO2
Check for the LHS: 1 Ca, 1 C, 3 O, 2 H & 2 Cl on the LHS
Now check for the RHS: 1 Ca, 2 Cl, 2 H, 1 C & 3 O
Hope it helped!