Thanks for query,
Many a time if there is no ejaculation into the vagina but outside does cause pregnancy
Even one or two sperms travel into the vagina can cause pregnancy.
So it is possible that in your case few sperms might entered into the vagina caused pregnancy.
Nothing to worry there may not be any bad effect on your baby.
Ok and bye.