President Obama speaks to troops during a surprise visit to Bagram air base in Afghanistan.