Updated at 12:10 p.m. ET

The group that calls itself the Islamic State, in a direct address to Japan's prime minister, is threatening to kill two Japanese hostages unless it gets $200 million within 72 hours. The demand in a video posted online comes as Shinzo Abe is visiting the Middle East.

The video shows the two men — purported to be Haruna Yukawa, who was captured in August, and freelance journalist Kenji Goto Jogo, who was last heard from on Twitter in October when he said he was in Syria — in orange jumpsuits. There is a rocky hill in the background and a masked militant, clad in black, standing between them.

"To the prime minister of Japan: Although you are more than 8,000 and 500 kilometers (5,280 miles) from the Islamic State, you willingly have volunteered to take part in this crusade," the militant says. "You have proudly donated $100 million to kill our women and children, to destroy the homes of the Muslims ... and in an attempt to stop the expansion of the Islamic State, you have also donated another $100 million to train the (apostates)."

That sum is equivalent to the amount Japan pledged in nonmilitary aid to countries in the region facing threats from the Islamic State.

The militant who is brandishing a knife in the video resembles and sounds like the British man in other Islamic State videos in which hostages have been beheaded. Three Americans — James Foley, Peter Kassig and Steven Sotloff — and two Britons — David Haines and Alan Henning — were killed by the group in the past year. Their beheadings have been filmed.

It's unclear whether Japan will pay the $200 million to free the hostages, but its Foreign Ministry in a statement said, "Japan will not give in to terrorism."

Abe, in Jerusalem, said the lives of the two hostages "are the top priority."

He said he was sending Yasuhide Nakayama, state minister for foreign affairs, to Jordan to deal with the situation, Japanese media reported.

"It is unforgivable," said Abe, who is on a six-day tour of the Middle East. "Extremism and Islam are completely different things."

The Islamic State also holds British photojournalist John Cantlie, who has appeared in the group's propaganda videos, and a 26-year-old American aid worker.

Copyright 2016 NPR. To see more, visit http://www.npr.org/.