Barack Obama made his first visit as president to the National Prayer Breakfast.