You are considered married by a US visa officer even if you did not register marriage after marrying as per religious ceremony. You can register the marriage now and use the registration certificate for the US green card interview.