Pregnancy needs semen to reach inside the vagina; external contact on the outer thigh with no penetration carries essentially no risk.
Next Steps
With two periods since then and two negative urine tests, pregnancy is very unlikely at this point.
Health Tips
If your next period is ever delayed, a home test again will settle it.