Hot dogs while pregnant?

I heard your not supposed to eat hot dogs or deli meat while pregnant? Why is this? I ate 2 hot dogs last night and they were sooo good lol but now I feel bad about 😕