Hi,
No, you can't become pregnant that way. Semen would have to come in direct contact with your vagina in order for you to become pregnant. If you still feel doubtful, you could always take a pregnancy test to find out whether you are pregnant, or not.
Good Luck