Answer:
Romeo's remark was obviously prompted by something. If Juliet is talking to herself or silently listening to the Nurse inside the room is a minor decision left to the director's discretion. What's relevant to the scene is that Romeo assumes (or deludes himself into believing) Juliet has seen him and is trying to strike up a conversation with him.
Hope this helps!