You can use the following substitution:
s/\<./\u&/g
\<matches the start of a word.matches the first character of a word\utells Vim to uppercase the following character in the substitution string(&)&means substitute whatever was matched on the left-hand sidegmeans substitute all matches, not only the first