Kaley Cuoco had to keep her relationship with Johnny Galecki a secret while they were on 'The Big Bang Theory'