basically ;
in Be there are 4 electrons 1s2 and 2s2
so during hybridisation the 2s2 electrons get exited to 2s1 , 2px1. 2py0 2pz0
as there are unpaired electrons in 2s1 and 2px1 the cl atoms will combine with these orbitas to form BeCl2
so now there ar two sp hybrib orbitals and hence we can say that hybrid of be in BeCl2 is sp .