Sex more than once

My boyfriend and I have had sex twice in a day (he came inside me both times) but I am on the pill and have not missed a day. Could I get pregnant as it was more than once or does it not matter how many times it is? X