US President Donald Trump will impose sanctions on the International Criminal Court for targeting the US and its allies.