Labour MPs Yuan Yang and Abtisam Mohamed were detained by Israeli authorities, the Foreign Secretary said.