Article II, Section 1, paragraph 3 explains the procedure. If a tie or no majority then the House decides.
The house as of election date, or the house as of inauguration date?