Standard and Poor's downgraded credit ratings for mortgage finance agencies Freddie Mac and Fannie Mae as markets tumbled Monday.