Mentofresh here is a great link about the tax credit program.
You primary residence and investment property could be both. If you purchase a two or three unit property which would qualify for the tax credit program. To get two mortgages that all depends on your creditworthiness and lender who will determine if you qualify to do both.
Hope this helps
CCS Realty, LLC