Magnetism and superconductivity in heavy fermion superconductor CeCo (In0.97 Cd0.03)5