Dynamics of Spin Squeezing in Coupled Two Mode Bose Einstein Condensates