To initiate a timeout in-game, type "!pause" in the all-chat. This will trigger the CS2 popup, allowing your team to vote for a timeout.
Cast your vote by pressing F1 (accept) or F2 (decline). Keep in mind that for the vote to pass, every connected player, with the exception of one, must cast a 'yes' vote.