When we got our puppy, Everytime she would go #1 or #2. I would tell her good potty while she was going. after a few months, she knows go potty. I knew she understood when I the mistake of asking her if she had to go potty while we were in the house. She peed right there on the floor. Something she never did. Now, I make sure she is outside before I tell her to go potty.
Also, no playing until potty is done. If she would not go, I would put her back in the crate for a while and try again in a little bit.
Good luck.