Nikah and pregnant?

Does anyone know if you can have a nikah and be pregnant? What if only one of you is Muslim? Does it make a difference? Curious.....