If I'm on the pill can he cum in me?

If I've been on the pill for two years. Is it okay for my boyfriend to cum in me? What are the chances of getting pregnant?