The noun ransom can be countable or uncountable.
In more general, commonly used, contexts, the plural form will also be ransom.
However, in more specific contexts, the plural form can also be ransoms e.g. in reference to various types of ransoms or a collection of ransoms.