Obama to talk terrorism with European leaders