You can find the size of the viewport with:
get_viewport_rect().size
I don't know what "paddles" you mean, but you can clamp movement to the viewport in your positioning code. The sample Dodge Game has a good example of how to use it. Keep in mind that Dodge is written for V3.0, but "clamp" works the same for the stable version.