Both are possible. We can view $2,000,000 as a (singular) amount of money, or we can think of the 'two' as being plural, mentally contrasting it with 'one'.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.