Two men have been arrested and charged after firearms officers were called to an incident in South Lanarkshire.