It's called the 'Electrostatic Force'.
It's proportional to the product of their charges, and
inversely proportional to the square of the distance
between them.
It pulls them together if their charges are opposite.
It pushes them apart if they have the same charge.