They could mean the same.
'follow me' implies that you are going to lead them somewhere.
'come with me' doesn't necessarily mean you are the one showing them the way,it just means a request to accompany them.
However you could ask them to 'come with you' and they would be 'following you' at the same time.