Israel has ordered an immediate halt to Gaza's electricity supply in an effort to pressure Hamas into releasing hostages.