Like kate says do not eat them, green potatoes are poisonous.
How deep is the pot they're in? It could be a sign that they want to be planted in something a wee bit bigger, if it's just the odd one or two on top and the plant looks healthy then I wouldn't bother doing anything.