Hi,
what mask are they? assuming they are hosts
access-list <acl-no> permit host <ip1>
access-list <acl-no> permit host <ip2>
inter f0/1
access-group <acl-no> in
where acl-no is between 1 and 99.
If not, then use the combo <ip> <mask>
Remember, by default the access-list will deny everything except what is on the list.
-Stephen