first create a new recaptcha v2 to your site

https://www.google.com/recaptcha/admin/create

second add  recaptcha  to form check

third, add the following script to the form

 

Thats all

Regards