Japan's Prime Minister Shinzo Abe will attend the opening ceremony of the Pyeongchang Winter Olympics in South Korea in February.