Most of the medications are contraindicated in pregnancy
as the desired effect on the mother comes at a price of side effect for the baby.
Most of the drugs for their use in pregnancy are categorized in four categories ie A B C D.
so some of the drugs in the lower category are absolutely contraindicated, but in your case aspirin
is not in that extreme toxic group of medication.
Any way,you have taken only two of them, so it is unlikely to have any serious bad effect for the baby.
Please relax, and be careful in future as all drugs are not having such safety profile for baby as aspirin.
Hope it helps.