Generally, for tableware, we would call it a "cover." You could also use "lid" but "cover" is most common. The word "cap" is mostly used for things like a toothpaste cap or something that would cover the end of a tube or any structure resembling a tube. "Cap" can also be used to describe a small hat.