Borrowed from Portuguese cocos, plural of coco (literally “grinning face”), probably due to the three holes in the shell resembling a human face.
Practice speaking and memorizing "Kokos" and many other words and sentences in German.