More specifically, it means the number of times a player has represented his/her team in international play I believe. Meazza will know for sure, but I think that's it.
They do not actually give caps, or headgear to players anymore, but I believe they once did so...