Competition of Magnetism and Kondo Effect in (Ce,Y)Pd2Si2 compounds