Form Validation to allow only Numbers or decimals in Power Pages Basic Form

To use form validation, to allow only numeric values in a field you can use Regular Expression in Form Metadata.
Use below Regular Expression in Form Metadata.
^\d*[0-9](|.\d*[0-9]|,\d*[0-9])?$

Now once you see live site you will see the result.
Hope this helps.