Two men have been arrested by religious police in Saudi Arabia for giving out free hugs.