Indonesian police killed two suspected Islamist militants on Sunday in a gunfight during a raid on a house in West Java, a police spokesman said.

Two men had been arrested in Cibinong and led police to a house at the Jatiluhur dam, national police spokesman Awi Setiyono said.

"There were two men there and there was a gunfight and we had to shoot them," said Setiyono.